package com.dn.designpatterns.prototype;

/**
 * @program: designpatterns
 * @description: 菜鸟
 * @author: DN
 * @create: 2021-03-28 17:33
 **/
public class Square extends Shape{
    public Square() {
        type = "Square";
    }

    @Override
    void draw() {
        System.out.println("Inside Square::draw() method.");
    }
}
